import { Module } from '@nestjs/common';
import { RoleService } from './role.service';
import { RoleController } from './role.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Role } from './entities/role.entity';

@Module({
  imports:[TypeOrmModule.forFeature([Role])], // Add your Role entity here
  controllers: [RoleController],
  providers: [RoleService],
  exports: [TypeOrmModule, RoleService], // Export TypeOrmModule and RoleService if needed in other modules
})
export default class RoleModule {}
